import { WeaTools } from 'ecCom';

export const getKnowledgeDetail = params => // 根绝knowledgeId 获取页面信息
     WeaTools.callApi('/api/knowledge/knowledge/getKnowledgeDetail', 'GET', params);


export const operateKnowledge = params => // 根绝knowledgeId 获取页面信息
     WeaTools.callApi('/api/knowledge/knowledge/operateKnowledge', 'POST', params);


export const getKnowledgeList = params => // 获取知识列表
     WeaTools.callApi('/api/knowledge/knowledge/getKnowledgeList', 'GET', params);


export const saveKnowledgeType = params => // 保存知识类型
     WeaTools.callApi('/api/knowledge/knowledge/saveKnowledgeType', 'POST', params);
